#include "ColourFadingAffectorFactory.h"
#include "ColourFadingAffector.h"

namespace Destiny
{

	CColourFadingAffectorFactory* CColourFadingAffectorFactory::mSelf = NULL ;

	CColourFadingAffectorFactory::CColourFadingAffectorFactory(void)
	{
	}


	CColourFadingAffectorFactory::~CColourFadingAffectorFactory(void)
	{
	}

	Ogre::ParticleAffector* CColourFadingAffectorFactory::createAffector(Ogre::ParticleSystem* psys)
	{
		Ogre::ParticleAffector* pParticleAffector = OGRE_NEW CColourFadingAffector(psys) ;
		mAffectors.push_back( pParticleAffector ) ;
		return pParticleAffector ;
	}
}
